package com.kkb.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class BehospitalExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public BehospitalExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andBe_idIsNull() {
            addCriterion("be_id is null");
            return (Criteria) this;
        }

        public Criteria andBe_idIsNotNull() {
            addCriterion("be_id is not null");
            return (Criteria) this;
        }

        public Criteria andBe_idEqualTo(Integer value) {
            addCriterion("be_id =", value, "be_id");
            return (Criteria) this;
        }

        public Criteria andBe_idNotEqualTo(Integer value) {
            addCriterion("be_id <>", value, "be_id");
            return (Criteria) this;
        }

        public Criteria andBe_idGreaterThan(Integer value) {
            addCriterion("be_id >", value, "be_id");
            return (Criteria) this;
        }

        public Criteria andBe_idGreaterThanOrEqualTo(Integer value) {
            addCriterion("be_id >=", value, "be_id");
            return (Criteria) this;
        }

        public Criteria andBe_idLessThan(Integer value) {
            addCriterion("be_id <", value, "be_id");
            return (Criteria) this;
        }

        public Criteria andBe_idLessThanOrEqualTo(Integer value) {
            addCriterion("be_id <=", value, "be_id");
            return (Criteria) this;
        }

        public Criteria andBe_idIn(List<Integer> values) {
            addCriterion("be_id in", values, "be_id");
            return (Criteria) this;
        }

        public Criteria andBe_idNotIn(List<Integer> values) {
            addCriterion("be_id not in", values, "be_id");
            return (Criteria) this;
        }

        public Criteria andBe_idBetween(Integer value1, Integer value2) {
            addCriterion("be_id between", value1, value2, "be_id");
            return (Criteria) this;
        }

        public Criteria andBe_idNotBetween(Integer value1, Integer value2) {
            addCriterion("be_id not between", value1, value2, "be_id");
            return (Criteria) this;
        }

        public Criteria andBe_nursePeoPleIsNull() {
            addCriterion("be_nursePeoPle is null");
            return (Criteria) this;
        }

        public Criteria andBe_nursePeoPleIsNotNull() {
            addCriterion("be_nursePeoPle is not null");
            return (Criteria) this;
        }

        public Criteria andBe_nursePeoPleEqualTo(String value) {
            addCriterion("be_nursePeoPle =", value, "be_nursePeoPle");
            return (Criteria) this;
        }

        public Criteria andBe_nursePeoPleNotEqualTo(String value) {
            addCriterion("be_nursePeoPle <>", value, "be_nursePeoPle");
            return (Criteria) this;
        }

        public Criteria andBe_nursePeoPleGreaterThan(String value) {
            addCriterion("be_nursePeoPle >", value, "be_nursePeoPle");
            return (Criteria) this;
        }

        public Criteria andBe_nursePeoPleGreaterThanOrEqualTo(String value) {
            addCriterion("be_nursePeoPle >=", value, "be_nursePeoPle");
            return (Criteria) this;
        }

        public Criteria andBe_nursePeoPleLessThan(String value) {
            addCriterion("be_nursePeoPle <", value, "be_nursePeoPle");
            return (Criteria) this;
        }

        public Criteria andBe_nursePeoPleLessThanOrEqualTo(String value) {
            addCriterion("be_nursePeoPle <=", value, "be_nursePeoPle");
            return (Criteria) this;
        }

        public Criteria andBe_nursePeoPleLike(String value) {
            addCriterion("be_nursePeoPle like", value, "be_nursePeoPle");
            return (Criteria) this;
        }

        public Criteria andBe_nursePeoPleNotLike(String value) {
            addCriterion("be_nursePeoPle not like", value, "be_nursePeoPle");
            return (Criteria) this;
        }

        public Criteria andBe_nursePeoPleIn(List<String> values) {
            addCriterion("be_nursePeoPle in", values, "be_nursePeoPle");
            return (Criteria) this;
        }

        public Criteria andBe_nursePeoPleNotIn(List<String> values) {
            addCriterion("be_nursePeoPle not in", values, "be_nursePeoPle");
            return (Criteria) this;
        }

        public Criteria andBe_nursePeoPleBetween(String value1, String value2) {
            addCriterion("be_nursePeoPle between", value1, value2, "be_nursePeoPle");
            return (Criteria) this;
        }

        public Criteria andBe_nursePeoPleNotBetween(String value1, String value2) {
            addCriterion("be_nursePeoPle not between", value1, value2, "be_nursePeoPle");
            return (Criteria) this;
        }

        public Criteria andBe_patBedIsNull() {
            addCriterion("be_patBed is null");
            return (Criteria) this;
        }

        public Criteria andBe_patBedIsNotNull() {
            addCriterion("be_patBed is not null");
            return (Criteria) this;
        }

        public Criteria andBe_patBedEqualTo(String value) {
            addCriterion("be_patBed =", value, "be_patBed");
            return (Criteria) this;
        }

        public Criteria andBe_patBedNotEqualTo(String value) {
            addCriterion("be_patBed <>", value, "be_patBed");
            return (Criteria) this;
        }

        public Criteria andBe_patBedGreaterThan(String value) {
            addCriterion("be_patBed >", value, "be_patBed");
            return (Criteria) this;
        }

        public Criteria andBe_patBedGreaterThanOrEqualTo(String value) {
            addCriterion("be_patBed >=", value, "be_patBed");
            return (Criteria) this;
        }

        public Criteria andBe_patBedLessThan(String value) {
            addCriterion("be_patBed <", value, "be_patBed");
            return (Criteria) this;
        }

        public Criteria andBe_patBedLessThanOrEqualTo(String value) {
            addCriterion("be_patBed <=", value, "be_patBed");
            return (Criteria) this;
        }

        public Criteria andBe_patBedLike(String value) {
            addCriterion("be_patBed like", value, "be_patBed");
            return (Criteria) this;
        }

        public Criteria andBe_patBedNotLike(String value) {
            addCriterion("be_patBed not like", value, "be_patBed");
            return (Criteria) this;
        }

        public Criteria andBe_patBedIn(List<String> values) {
            addCriterion("be_patBed in", values, "be_patBed");
            return (Criteria) this;
        }

        public Criteria andBe_patBedNotIn(List<String> values) {
            addCriterion("be_patBed not in", values, "be_patBed");
            return (Criteria) this;
        }

        public Criteria andBe_patBedBetween(String value1, String value2) {
            addCriterion("be_patBed between", value1, value2, "be_patBed");
            return (Criteria) this;
        }

        public Criteria andBe_patBedNotBetween(String value1, String value2) {
            addCriterion("be_patBed not between", value1, value2, "be_patBed");
            return (Criteria) this;
        }

        public Criteria andBe_antecedentIsNull() {
            addCriterion("be_antecedent is null");
            return (Criteria) this;
        }

        public Criteria andBe_antecedentIsNotNull() {
            addCriterion("be_antecedent is not null");
            return (Criteria) this;
        }

        public Criteria andBe_antecedentEqualTo(String value) {
            addCriterion("be_antecedent =", value, "be_antecedent");
            return (Criteria) this;
        }

        public Criteria andBe_antecedentNotEqualTo(String value) {
            addCriterion("be_antecedent <>", value, "be_antecedent");
            return (Criteria) this;
        }

        public Criteria andBe_antecedentGreaterThan(String value) {
            addCriterion("be_antecedent >", value, "be_antecedent");
            return (Criteria) this;
        }

        public Criteria andBe_antecedentGreaterThanOrEqualTo(String value) {
            addCriterion("be_antecedent >=", value, "be_antecedent");
            return (Criteria) this;
        }

        public Criteria andBe_antecedentLessThan(String value) {
            addCriterion("be_antecedent <", value, "be_antecedent");
            return (Criteria) this;
        }

        public Criteria andBe_antecedentLessThanOrEqualTo(String value) {
            addCriterion("be_antecedent <=", value, "be_antecedent");
            return (Criteria) this;
        }

        public Criteria andBe_antecedentLike(String value) {
            addCriterion("be_antecedent like", value, "be_antecedent");
            return (Criteria) this;
        }

        public Criteria andBe_antecedentNotLike(String value) {
            addCriterion("be_antecedent not like", value, "be_antecedent");
            return (Criteria) this;
        }

        public Criteria andBe_antecedentIn(List<String> values) {
            addCriterion("be_antecedent in", values, "be_antecedent");
            return (Criteria) this;
        }

        public Criteria andBe_antecedentNotIn(List<String> values) {
            addCriterion("be_antecedent not in", values, "be_antecedent");
            return (Criteria) this;
        }

        public Criteria andBe_antecedentBetween(String value1, String value2) {
            addCriterion("be_antecedent between", value1, value2, "be_antecedent");
            return (Criteria) this;
        }

        public Criteria andBe_antecedentNotBetween(String value1, String value2) {
            addCriterion("be_antecedent not between", value1, value2, "be_antecedent");
            return (Criteria) this;
        }

        public Criteria andBe_illnessIsNull() {
            addCriterion("be_illness is null");
            return (Criteria) this;
        }

        public Criteria andBe_illnessIsNotNull() {
            addCriterion("be_illness is not null");
            return (Criteria) this;
        }

        public Criteria andBe_illnessEqualTo(String value) {
            addCriterion("be_illness =", value, "be_illness");
            return (Criteria) this;
        }

        public Criteria andBe_illnessNotEqualTo(String value) {
            addCriterion("be_illness <>", value, "be_illness");
            return (Criteria) this;
        }

        public Criteria andBe_illnessGreaterThan(String value) {
            addCriterion("be_illness >", value, "be_illness");
            return (Criteria) this;
        }

        public Criteria andBe_illnessGreaterThanOrEqualTo(String value) {
            addCriterion("be_illness >=", value, "be_illness");
            return (Criteria) this;
        }

        public Criteria andBe_illnessLessThan(String value) {
            addCriterion("be_illness <", value, "be_illness");
            return (Criteria) this;
        }

        public Criteria andBe_illnessLessThanOrEqualTo(String value) {
            addCriterion("be_illness <=", value, "be_illness");
            return (Criteria) this;
        }

        public Criteria andBe_illnessLike(String value) {
            addCriterion("be_illness like", value, "be_illness");
            return (Criteria) this;
        }

        public Criteria andBe_illnessNotLike(String value) {
            addCriterion("be_illness not like", value, "be_illness");
            return (Criteria) this;
        }

        public Criteria andBe_illnessIn(List<String> values) {
            addCriterion("be_illness in", values, "be_illness");
            return (Criteria) this;
        }

        public Criteria andBe_illnessNotIn(List<String> values) {
            addCriterion("be_illness not in", values, "be_illness");
            return (Criteria) this;
        }

        public Criteria andBe_illnessBetween(String value1, String value2) {
            addCriterion("be_illness between", value1, value2, "be_illness");
            return (Criteria) this;
        }

        public Criteria andBe_illnessNotBetween(String value1, String value2) {
            addCriterion("be_illness not between", value1, value2, "be_illness");
            return (Criteria) this;
        }

        public Criteria andBe_closePriceIsNull() {
            addCriterion("be_closePrice is null");
            return (Criteria) this;
        }

        public Criteria andBe_closePriceIsNotNull() {
            addCriterion("be_closePrice is not null");
            return (Criteria) this;
        }

        public Criteria andBe_closePriceEqualTo(Integer value) {
            addCriterion("be_closePrice =", value, "be_closePrice");
            return (Criteria) this;
        }

        public Criteria andBe_closePriceNotEqualTo(Integer value) {
            addCriterion("be_closePrice <>", value, "be_closePrice");
            return (Criteria) this;
        }

        public Criteria andBe_closePriceGreaterThan(Integer value) {
            addCriterion("be_closePrice >", value, "be_closePrice");
            return (Criteria) this;
        }

        public Criteria andBe_closePriceGreaterThanOrEqualTo(Integer value) {
            addCriterion("be_closePrice >=", value, "be_closePrice");
            return (Criteria) this;
        }

        public Criteria andBe_closePriceLessThan(Integer value) {
            addCriterion("be_closePrice <", value, "be_closePrice");
            return (Criteria) this;
        }

        public Criteria andBe_closePriceLessThanOrEqualTo(Integer value) {
            addCriterion("be_closePrice <=", value, "be_closePrice");
            return (Criteria) this;
        }

        public Criteria andBe_closePriceIn(List<Integer> values) {
            addCriterion("be_closePrice in", values, "be_closePrice");
            return (Criteria) this;
        }

        public Criteria andBe_closePriceNotIn(List<Integer> values) {
            addCriterion("be_closePrice not in", values, "be_closePrice");
            return (Criteria) this;
        }

        public Criteria andBe_closePriceBetween(Integer value1, Integer value2) {
            addCriterion("be_closePrice between", value1, value2, "be_closePrice");
            return (Criteria) this;
        }

        public Criteria andBe_closePriceNotBetween(Integer value1, Integer value2) {
            addCriterion("be_closePrice not between", value1, value2, "be_closePrice");
            return (Criteria) this;
        }

        public Criteria andBe_stateIsNull() {
            addCriterion("be_state is null");
            return (Criteria) this;
        }

        public Criteria andBe_stateIsNotNull() {
            addCriterion("be_state is not null");
            return (Criteria) this;
        }

        public Criteria andBe_stateEqualTo(Integer value) {
            addCriterion("be_state =", value, "be_state");
            return (Criteria) this;
        }

        public Criteria andBe_stateNotEqualTo(Integer value) {
            addCriterion("be_state <>", value, "be_state");
            return (Criteria) this;
        }

        public Criteria andBe_stateGreaterThan(Integer value) {
            addCriterion("be_state >", value, "be_state");
            return (Criteria) this;
        }

        public Criteria andBe_stateGreaterThanOrEqualTo(Integer value) {
            addCriterion("be_state >=", value, "be_state");
            return (Criteria) this;
        }

        public Criteria andBe_stateLessThan(Integer value) {
            addCriterion("be_state <", value, "be_state");
            return (Criteria) this;
        }

        public Criteria andBe_stateLessThanOrEqualTo(Integer value) {
            addCriterion("be_state <=", value, "be_state");
            return (Criteria) this;
        }

        public Criteria andBe_stateIn(List<Integer> values) {
            addCriterion("be_state in", values, "be_state");
            return (Criteria) this;
        }

        public Criteria andBe_stateNotIn(List<Integer> values) {
            addCriterion("be_state not in", values, "be_state");
            return (Criteria) this;
        }

        public Criteria andBe_stateBetween(Integer value1, Integer value2) {
            addCriterion("be_state between", value1, value2, "be_state");
            return (Criteria) this;
        }

        public Criteria andBe_stateNotBetween(Integer value1, Integer value2) {
            addCriterion("be_state not between", value1, value2, "be_state");
            return (Criteria) this;
        }

        public Criteria andHosr_idIsNull() {
            addCriterion("hosr_id is null");
            return (Criteria) this;
        }

        public Criteria andHosr_idIsNotNull() {
            addCriterion("hosr_id is not null");
            return (Criteria) this;
        }

        public Criteria andHosr_idEqualTo(Integer value) {
            addCriterion("hosr_id =", value, "hosr_id");
            return (Criteria) this;
        }

        public Criteria andHosr_idNotEqualTo(Integer value) {
            addCriterion("hosr_id <>", value, "hosr_id");
            return (Criteria) this;
        }

        public Criteria andHosr_idGreaterThan(Integer value) {
            addCriterion("hosr_id >", value, "hosr_id");
            return (Criteria) this;
        }

        public Criteria andHosr_idGreaterThanOrEqualTo(Integer value) {
            addCriterion("hosr_id >=", value, "hosr_id");
            return (Criteria) this;
        }

        public Criteria andHosr_idLessThan(Integer value) {
            addCriterion("hosr_id <", value, "hosr_id");
            return (Criteria) this;
        }

        public Criteria andHosr_idLessThanOrEqualTo(Integer value) {
            addCriterion("hosr_id <=", value, "hosr_id");
            return (Criteria) this;
        }

        public Criteria andHosr_idIn(List<Integer> values) {
            addCriterion("hosr_id in", values, "hosr_id");
            return (Criteria) this;
        }

        public Criteria andHosr_idNotIn(List<Integer> values) {
            addCriterion("hosr_id not in", values, "hosr_id");
            return (Criteria) this;
        }

        public Criteria andHosr_idBetween(Integer value1, Integer value2) {
            addCriterion("hosr_id between", value1, value2, "hosr_id");
            return (Criteria) this;
        }

        public Criteria andHosr_idNotBetween(Integer value1, Integer value2) {
            addCriterion("hosr_id not between", value1, value2, "hosr_id");
            return (Criteria) this;
        }

        public Criteria andD_idIsNull() {
            addCriterion("d_id is null");
            return (Criteria) this;
        }

        public Criteria andD_idIsNotNull() {
            addCriterion("d_id is not null");
            return (Criteria) this;
        }

        public Criteria andD_idEqualTo(Integer value) {
            addCriterion("d_id =", value, "d_id");
            return (Criteria) this;
        }

        public Criteria andD_idNotEqualTo(Integer value) {
            addCriterion("d_id <>", value, "d_id");
            return (Criteria) this;
        }

        public Criteria andD_idGreaterThan(Integer value) {
            addCriterion("d_id >", value, "d_id");
            return (Criteria) this;
        }

        public Criteria andD_idGreaterThanOrEqualTo(Integer value) {
            addCriterion("d_id >=", value, "d_id");
            return (Criteria) this;
        }

        public Criteria andD_idLessThan(Integer value) {
            addCriterion("d_id <", value, "d_id");
            return (Criteria) this;
        }

        public Criteria andD_idLessThanOrEqualTo(Integer value) {
            addCriterion("d_id <=", value, "d_id");
            return (Criteria) this;
        }

        public Criteria andD_idIn(List<Integer> values) {
            addCriterion("d_id in", values, "d_id");
            return (Criteria) this;
        }

        public Criteria andD_idNotIn(List<Integer> values) {
            addCriterion("d_id not in", values, "d_id");
            return (Criteria) this;
        }

        public Criteria andD_idBetween(Integer value1, Integer value2) {
            addCriterion("d_id between", value1, value2, "d_id");
            return (Criteria) this;
        }

        public Criteria andD_idNotBetween(Integer value1, Integer value2) {
            addCriterion("d_id not between", value1, value2, "d_id");
            return (Criteria) this;
        }

        public Criteria andBe_timeIsNull() {
            addCriterion("be_time is null");
            return (Criteria) this;
        }

        public Criteria andBe_timeIsNotNull() {
            addCriterion("be_time is not null");
            return (Criteria) this;
        }

        public Criteria andBe_timeEqualTo(Date value) {
            addCriterionForJDBCDate("be_time =", value, "be_time");
            return (Criteria) this;
        }

        public Criteria andBe_timeNotEqualTo(Date value) {
            addCriterionForJDBCDate("be_time <>", value, "be_time");
            return (Criteria) this;
        }

        public Criteria andBe_timeGreaterThan(Date value) {
            addCriterionForJDBCDate("be_time >", value, "be_time");
            return (Criteria) this;
        }

        public Criteria andBe_timeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("be_time >=", value, "be_time");
            return (Criteria) this;
        }

        public Criteria andBe_timeLessThan(Date value) {
            addCriterionForJDBCDate("be_time <", value, "be_time");
            return (Criteria) this;
        }

        public Criteria andBe_timeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("be_time <=", value, "be_time");
            return (Criteria) this;
        }

        public Criteria andBe_timeIn(List<Date> values) {
            addCriterionForJDBCDate("be_time in", values, "be_time");
            return (Criteria) this;
        }

        public Criteria andBe_timeNotIn(List<Date> values) {
            addCriterionForJDBCDate("be_time not in", values, "be_time");
            return (Criteria) this;
        }

        public Criteria andBe_timeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("be_time between", value1, value2, "be_time");
            return (Criteria) this;
        }

        public Criteria andBe_timeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("be_time not between", value1, value2, "be_time");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}